package com.hk.huakangcompany.handler.exception;

/**
 * @Author: aerfazhe
 * @Date: 2021/7/14 9:20
 * @Statement: 自定义提示代码
 */
public enum ExceptionEnum {

    SUCCESS(200,"success"),
    NULL(204,"null"),
    AC(401,"Not logged in"),
    ERROR(500,"error");

    private Integer code;
    private String message;

    ExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }



}
